package com.quectel.core.module.really.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 实有单位
 *
 * @author caolu
 * @email louis.cao@quectel.com
 * @date 2021-11-09 14:24:25
 */
@Data
@Schema
public class ReallyCompanyDto implements Serializable {

    /**
     *
     */
    @Schema(description = "")
    private Long id;

    /**
     * 租户
     */
    @Schema(description = "租户")
    private Long tenantId;

    /**
     * 小区
     */
    @Schema(description = "小区")
    @NotNull
    private Long villageId;

    /**
     * 单位类型1机关团体2事业单位3企业单位4其他
     */
    @Schema(description = "单位类型1机关团体2事业单位3企业单位4其他")
    @NotNull
    private Byte type;

    /**
     * 行业类型1汽车修理2…
     */
    @Schema(description = "行业类型1汽车修理2…")
    @NotNull
    private Byte industryType;

    /**
     * 单位名称
     */
    @Schema(description = "单位名称")
    @NotEmpty
    @Length(min = 1, max = 80)
    private String name;

    /**
     * 工商执照号码
     */
    @Schema(description = "工商执照号码")
    private String licenseNo;

    /**
     * 组织机构代码
     */
    @Schema(description = "组织机构代码")
    private String orgCode;

    /**
     * 单位联系电话
     */
    @Schema(description = "单位联系电话")
    private String companyMobile;

    /**
     * 法人姓名
     */
    @Schema(description = "法人姓名")
    private String artificialPersonName;

    /**
     * 法人电话
     */
    @Schema(description = "法人电话")
    private String artificialPersonMobile;

    /**
     * 法人证件类型
     */
    @Schema(description = "法人证件类型")
    private Byte artificialPersonCardType;

    /**
     * 法人证件号
     */
    @Schema(description = "法人证件号")
    private String artificialPersonCardNo;

    /**
     * 保卫科负责人
     */
    @Schema(description = "保卫科负责人")
    private String securityPersonName;

    /**
     *
     */
    @Schema(description = "")
    private String securityPersonMobile;

    /**
     * 证件类型
     */
    @Schema(description = "证件类型")
    private Byte securityPersonCardType;

    /**
     * 保卫科证件号
     */
    @Schema(description = "保卫科证件号")
    private String securityPersonCardNo;

    /**
     * 统一社会信用代码
     */
    @Schema(description = "统一社会信用代码")
    private String uniformSocialCreditCode;

    /**
     * 注册日期
     */
    @Schema(description = "注册日期")
    private String registerDate;

    /**
     * 注销日期
     */
    @Schema(description = "注销日期")
    private String unregisterDate;

    /**
     * 公司邮箱
     */
    @Schema(description = "公司邮箱")
    private String companyEmail;

    /**
     * 注册地址
     */
    @Schema(description = "注册地址")
    private String registerAddress;

    /**
     *
     */
    @Schema(description = "")
    private String remark;

    /**
     *
     */
    @Schema(description = "")
    private String creator;

    /**
     *
     */
    @Schema(description = "")
    private Date createTime;

    /**
     *
     */
    @Schema(description = "")
    private String editor;

    /**
     *
     */
    @Schema(description = "")
    private Date editTime;

    /************非数据库字段 start ************/
    private String villageName;
    /************非数据库字段 end **************/
}
